#pragma once

template<typename A,typename B>
inline void _Memcpy(A from,B to, unsigned int size);


void _Memcpy(const char* from,char* to,unsigned int size);
unsigned char _MemAll(const char from,char* to,unsigned int size);
unsigned int strlength(const char* str);
unsigned int FindNextOf(char* str,const char ch,unsigned int from);
unsigned int FindLastOf(char* str,const char ch,unsigned int from);
unsigned char StrCompare(char* a,char* b);
unsigned char InsertStr(char* to,const char* from,unsigned int pos);
unsigned char AddStr(char* to,const char* from);
unsigned char CopyStr(char* to,const char* from);

#define		INITIALIZE_VAR(ptr,size)	\
	(_MemAll(0,ptr,size))


